package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Family;
import org.example.entity.User;
import org.example.exception.AccountExitException;
import org.example.exception.PermissionsDenyException;
import org.example.vo.RegisterVo;
import org.example.vo.ParentAndStudents;

public interface FamilyService extends IService<Family> {
    User createFamily(RegisterVo registerVo, User parent) throws AccountExitException, PermissionsDenyException;

    ParentAndStudents showFamily();
}
